<template>
  <yd-layout class="m-about">
    <!-- 顶部导航 -->
    <yd-navbar slot="navbar" title="关于我们" height=".88rem" bgcolor="#fff" color="#444" fontsize=".3rem">
      <yd-navbar-back-icon slot="left" color="#666" @click.native="$router.back()"></yd-navbar-back-icon>
    </yd-navbar>

    <div class="m-detail-text" v-html="aboutUsText"></div>
  </yd-layout>
</template>

<script>
  import { apiAboutUs } from 'js/api'

  export default {
    data() {
      return {
        aboutUsText: ''
      }
    },
    created() {
      apiAboutUs().then(data => {
        this.aboutUsText = data.content
      })
    }
  }
</script>

<style lang="scss">
</style>